<%--
  Created by IntelliJ IDEA.
  User: hd
  Date: 2021/11/20
  Time: 9:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css" integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>

<html>
<head>
    <title>Title</title>
    <style>
        h1{
            position: relative;
            left: 530px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-10 col-offset-1">
            <h1>新增文档</h1>
            <form class="form-horizontal" action="/user/adddata" method="post">
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label">文档类型</label>
                    <div class="col-sm-2">
                        <input type="text" class="form-control" id="inputEmail1" placeholder="文档的类型" name="categoryid">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label">文档名称</label>
                    <div class="col-sm-2">
                        <input type="text" class="form-control" id="inputEmail3" placeholder="文档的名称" name="title">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">文档摘要</label>
                    <div class="col-sm-6">
                        <input type="test" class="form-control" id="inputPassword3" rows="3" placeholder="描述你的文档" name="summary">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label">上传人</label>
                    <div class="col-sm-2">
                        <input type="text" class="form-control" id="inputEmail2" placeholder="你的名字" name="uploadusr">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label">上传时间</label>
                    <div class="col-sm-2">
                        <input type="date" class="form-control" id="inputEmail4" placeholder="新的时间" name="createdate">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-default">提交</button>
                        <a href="/user/tzl">
                            <button type="button" class="btn btn-default">返回</button>
                        </a>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
</body>
</html>
